package com.jdym.service.impl;

import com.jdym.entity.Card;
import com.jdym.mapper.CardMapper;
import com.jdym.service.CardService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 个人银行卡管理 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Service
public class CardServiceImpl extends ServiceImpl<CardMapper, Card> implements CardService {
    @Autowired
    CardMapper cardMapper;

    @Override
    public List<Card> findAllCard(int firmid) {
      return  cardMapper.findAllCard(firmid);

    }
}
